<%--
  Created by IntelliJ IDEA.
  User: XingWE
  Date: 2018/1/31
  Time: 15:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>成功页面</title>
</head>

<body>
    注册成功！欢迎：${user.userName}，你的年龄是：${user.userAge}
    <br>
    您所在的街道是：${user.aderess.street}，您所在的城市是：${user.aderess.city},
    您所在的城市是：${user.aderess.province}
    <br>
    header信息是：${requestScope.user.header}
    <br>
    sessionId是：${user.sessionId}
    <br>
    userAgent是：${user.userAgent}
    <br>
    <br>
    测试返回map中的userName是：${userName}
    <br>
    <%--<span>测试modelattribute</span>--%>
    <br>
    测试返回modelattribute的map中的userName是：${myUser.userName}
    <br>
    测试返回modelattribute的map中的aderess是：${myUser.aderess.street}
    <br>
    测试返回modelattribute的map中的userAge是：${myUser.userAge}
    <br>
    测试返回modelattribute的map中的passWord是：${myUser.passWord}
    <br>
    request中的username是：${requestScope.sessionUser.userName}
    <br>
    session中的username是：${sessionScope.sessionUser.userName}
</body>
</html>
